local xinyuanliaoyv = fk.CreateSkill {
  name = "xinyuanliaoyv",
  tags = { Skill.Compulsory, },
}

Fk:loadTranslationTable{
  ["xinyuanliaoyv"] = "心愿疗愈",
  [":xinyuanliaoyv"] = "锁定技，当你受到回复效果时，令回复的体力+1。",
}

xinyuanliaoyv:addEffect(fk.PreHpRecover, {
    can_trigger = function(self, event, target, player, data)
      return target == player and player:hasSkill(self)
    end,
    on_use = function(self, event, target, player, data)
      data.num = data.num + 1 -- 阻止体力回复
    end,
  })

  return xinyuanliaoyv